#pragma once

#include "CommandManager.h"

class CmdHistoryManager :public CommandManager
{
public:
	CmdHistoryManager(void);
	virtual ~CmdHistoryManager(void);
public:
	static CmdHistoryManager *getInstance()
	{
		if (NULL == m_pCmdHistoryManager)
		{
			m_pCmdHistoryManager = new CmdHistoryManager();
		}
		return m_pCmdHistoryManager;
	}

	static void ReleaseInstacne();
	virtual void Undo();
	virtual void Redo();

private:
	static CmdHistoryManager *m_pCmdHistoryManager;

};